import request from '@/utils/request_axios'
// 指标配置查询
export function queryBots(data) {
  return request({
    url: '/btos/norm',
    method: 'get',
    data: data
  })
}
// 指标配置新增
export function addBots(data) {
  return request({
    url: '/btos/norm',
    method: 'post',
    data: data
  })
}
// 指标配置修改
export function editBots(data) {
  return request({
    url: '/btos/norm',
    method: 'put',
    data: data
  })
}
// 指标配置详情
export function queryBotsDetail(id) {
  return request({
    url: '/btos/norm',
    method: 'get',
    show: true,
    data: {
      id
    }
  })
}
// 指标配置删除
export function deleteBots(id) {
  return request({
    url: '/btos/norm',
    method: 'delete',
    show: true,
    data: {
      id
    }
  })
}
